package vivo.com.foolishbar.core.warp.page;

import javax.persistence.EntityManagerFactory;

import com.google.inject.Inject;
import com.wideplay.warp.ShutdownListener;

public class BlogShutdownListener implements ShutdownListener {
	@Inject
	EntityManagerFactory emf;

	public void onShutdown() {
		System.out.println("ShutdownListener");
		emf.close();
	}
}